<template>
    <div class="user-head">
       <router-link tag="div" to="/center" class="close">返回</router-link>
       <div class="title">
           {{title}}
       </div>
    </div>
</template>
<script>
export default {
  name: 'userhead',
  props: [
    'title'
  ]
}
</script>

<style lang="scss">
@import '@/styles/common/px2rem.scss';
.user-head{
  display: flex;
  font-size: px2rem(18);
  padding: px2rem(20) px2rem(10);
  flex-shrink: 0;
  border-bottom: 1px solid #ccc;
  .close{
     width: px2rem(50);
     text-align: center;
  }
  .title{
      width: px2rem(250);
      text-align: center;
  }
}
</style>
